    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
        <tr>
            <th class="table-header-repeat line-left minwidth-1">
               <?php echo $this->Paginator->sort("$sN".'.username',__('Username', true) ); ?>
            </th>
            <th class="table-header-repeat line-left">
               <?php echo $this->Paginator->sort("$sN".'.email',__('Email', true) ); ?>
            </th>
            <th class="table-header-repeat line-left">
               <?php echo $this->Paginator->sort( "$sN".'.group_id',__('Group', true)); ?>
            </th>
            <th class="table-header-repeat line-left"><a href="">Created date</a></th>
            <th class="table-header-repeat line-left"><a href="">Created by</a></th>
            <th class="table-header-repeat line-left"><a href="">Status</a></th>
            <th class="table-header-repeat line-left"><a href="">Options</a></th>
        </tr>
    <?php 
        $alt = 0;
        foreach($values as $value): 
            $alt_row = $alt % 2;
            $alt_rows = ($alt_row == 1)? 'alternate-row': '';
    ?>
        <tr class="<?php echo $alt_rows; ?>">
            <td>
                <?php echo $value[$sN]['username']; ?>
            </td>
            <td>
                <?php echo $value[$sN]['email']; ?>
            </td>
            <td>
                <?php echo $value["Group"]['name']; ?>
            </td>
            <td>
                <?php echo $value[$sN]['created']; ?>
            </td>
            <td>
                <?php echo User::get_username($value[$sN]['created_by']); ?>
            </td>
            <td>
                <?php $role = User::get_status($value[$sN]['status']) ;
                echo $role; 
                ?>
            </td>
  					<td class="options-width">
                <?php 
                    echo $this->Html->link(' ', array('controller' => 'users', 'action' => 'edit', $value[$sN]['id']), array('title' => "Edit", "class" => "icon-5 info-tooltip"));
                    ?> 
                <?php 
                    echo $this->Html->link(' ', array('controller' => 'users', 'action' => 'changepass', $value[$sN]['id']), array('title' => "Change Password", "class" => "icon-1 info-tooltip"));
                 ?> 
                                            <?php 
                    echo $this->Html->link(' ', array('controller' => 'users', 'action' => 'delete', $value[$sN]['id']), array('title' => "Delete",'onclick'=>"return confirm('Are you sure to delele this user ?')", "class" => "icon-2 info-tooltip"));
                 ?> 
            </td>
        </tr>
    <?php 
        $alt++;
        endforeach; 
    ?>
    </table>